package dao;

import java.util.Date;
import java.util.List;

import datacontainers.AllDishes;
import datacontainers.Menu;
import datacontainers.Order;

public interface DataLoader {

    /**
     * return actual date, for current menu
     * 
     * @return
     */
    public Date checkMenu();

    public boolean checkMenuEditing();

    public void menuEditingSet(boolean editing);

    /**
     * get current menu actual or old
     * 
     * @return
     */
    public Menu getMenu();

    public void saveMenu(Menu menu);

    /**
     * return all user orders
     * 
     * @param user
     * @return
     */
    public List<Order> getOrders(String user);

    public void sendOrder(Order order);
    
    /**
     * return orders from all users to tomorrow
     * 
     * @return
     */
    public List<Order> getTomorrowOrders();

    public AllDishes getAllDishes();
}
